package ru.niir.goodfil.c1;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("OrderResult")
public class OrderResult {
    public static final String SUCCESS = "SUCCESS";

    public static final String ERROR_NO_ORDER = "ERROR_NO_ORDER";

    public static final String ERROR_RESTS = "ERROR_RESTS";

    @XStreamAsAttribute
    private String id1C;

    @XStreamAsAttribute
    private String idIS;

    @XStreamAsAttribute
    private String result;

    public String getId1C() {
        return id1C;
    }

    public void setId1C(String id1C) {
        this.id1C = id1C;
    }

    public String getIdIS() {
        return idIS;
    }

    public void setIdIS(String idIS) {
        this.idIS = idIS;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "OrderResult{" +
                "id1C='" + id1C + '\'' +
                ", idIS='" + idIS + '\'' +
                ", result='" + result + '\'' +
                '}';
    }
}
